﻿app.controller('CouponDetailCtrl', ['$scope', '$http', '$filter', function ($scope, $http, $filter) {
    $scope.success = false;
    $scope.warning = false;
    $scope.showDetails = true;
    $scope.btnUseCoupon_click = function () {
        $scope.showDetails = false;
    }
    $scope.couponDetail = {
        "couponName": "1元代金券",
        "startTime": "2016-12-10",
        "endTime": "2018-01-30",
        "couponRemark": "测试",
        "couponIconUrl": "/Images/CouponPre/d4616aa03a0e4f28b39f1f5d8d5c1882/f7a6c92592be4e6390f025ddc0be66be.jpg"
    }
}]);